Skip to content

Fail tasks stuck in PENDING#4983

Open
sethboyles wants to merge 1 commit intomainfrom
fail_pending_tasks
Open

Fail tasks stuck in PENDING#4983
sethboyles wants to merge 1 commit intomainfrom
fail_pending_tasks

Conversation

@sethboyles
Copy link
Copy Markdown
Member

@sethboyles sethboyles commented Mar 30, 2026

  • A short explanation of the proposed change:

This PR started counting PENDING tasks towards quotas: #4651

This has revealed a number of tasks stuck in PENDING that are incorrectly inflating orgs' memory usage.

I haven't traced the cause for all of the stuck tasks yet, but I believe it probably happened when trying to save the state right after a Diego submission--I think it could have happened if there was a DB availability issue, for example. Regardless, these PENDING tasks will never get updated if they hit this state.

This PR transitions them to FAILED after a short period.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant